/**
 * OpenSocialFun
 * This JavaScript file is for Canvas view.
 */

var dre = dre || {};

dre.init = function() {
  document.getElementById('status').innerHTML = 'loading...';
  document.getElementById('airportStatus').style.display = 'none';
  var requestData = dre.checkPrefs();
  dre.updateTitle(requestData.airportCode);
  dre.fetch(requestData);
  console.log('using external js.');
}

